#ifndef DICTFORM_H
#define DICTFORM_H

#include <QMainWindow>
#include <QLabel>
#include <QTextCursor>





namespace Ui {
    class DictForm;
}

class DictForm : public QMainWindow
{
    Q_OBJECT

protected:
    QTextCursor curs;

   // void closeEvent(QCloseEvent * e);

public:
    // QTextCursor curs = ui->textEdit->textCursor();
    QString str_for_dict;
    QLabel label;
    explicit DictForm(QWidget *parent = 0);
    ~DictForm();

private:
    Ui::DictForm *ui;
public slots:
    void addWord();
    void findWord();
    void findNext();
    void hmm();
};

#endif // DICTFORM_H
